<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>while循环</title>
    <script type="text/javascript">
        // while(true){
        //     console.log("while循环体");
        // }

        var i = 2;
        while(i<101){
            console.log(i);
            i+=2;
        }
    </script>
</head>
<body>
    
</body>
</html>